package com.myecl.poker.option;

import java.io.Serializable;

import com.myecl.poker.rules.enums.Option;


public class CommandValue implements Command, Serializable {

	private static final long serialVersionUID = 3206127447495727313L;
	private final Option option;
	private final double value;
	
	public CommandValue(Option option, double value) {
		this.option = option;
		this.value = value;
	}
	
	public Option getOption() {
		return option;
	}
	public double getValue() {
		return value;
	}
}
